<template>
    <div class="main">
        <div class="search">
            <div class="left">
                <i class="iconfont icon-Scan"></i>
                <h5>扫一扫</h5>
            </div>
            <div class="input">
                <i class="iconfont icon-search1187938easyiconnet"></i>
                <input type="text" name="" placeholder="批号/仓库/卖家/进口棉柜/提单" id="">
            </div>
            <div class="right">
                <button disabled="disabled">搜索</button>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style scoped lang='less'>
.main{
    .search{
        padding-left: 4rem;
        padding-right: 2em;
        position: relative;
        background: #fafafa;
        height: 50px;
        .left{
            position: absolute;
            left: 5px;
            top: 5px;
            i{
                font-size: 24px;
                color: 666;
                display: block;
            }
        }
        .right{
            position: absolute;
            right: 5px;
            top: 10px;
            button{
                background: #2dbaba;
                color: #fff;
                border: 0;
                font-size: 1rem;
                line-height: 2em;
                text-align: center;
                border-radius: 5px;
                padding: 0 1em;
            }
        }
        .input{
            position: relative;
            padding-top: 10px;
            display: flex; 
            overflow: hidden;             
            i{
                position: absolute;
                left: 10px;
                top: 18px;
            }
            input{
                border-radius: 5px;
                background: #ededed;
                border: 0;
                outline: 0;
                display: block;
                height: 2em;
                font-size: 0.9rem;
                padding-left: 2em;
                width: calc(100% - 6em);
            }
        }
    }
}
</style>